import { request } from '@/utils'

export default {
  // 查找所有病情
  findAllRegistration: (data) => request.post('/findallRegistration', data, { noNeedToken: true }),
  // 获取就诊与待就诊与已就诊
  getRegistrationCount: (data) => request.post('/getRegistrationCount', data, { noNeedToken: true }),
  // 安装ID查找病情，病例信息
  findOneByIdRegistration: (data) => request.post('/findRegistrationByIdRegistration', data, { noNeedToken: true }),
  // 保存病例主诉
  updataCase: (data) => request.post('/updataCase', data, { noNeedToken: true }),
  // 保存病例回访
  updataCaseVisit: (data) => request.post('/updataCaseVisit', data, { noNeedToken: true }),
  // 保存病例的诊断开药
  updataCaseDiagnostic: (data) => request.post('/updataCaseDiagnostic', data, { noNeedToken: true }),
}
